<?php
namespace app\api\model;

use think\Model;

class Project extends Model
{
    public function getImgAttr($value) {
        $prefix = config('setting.img_prefix');
        return ($prefix.$value);
    }
}